.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  .header {
    display: flex;
    align-items: center;
    // justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
  }
  .middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 13px;
    padding: 6px 12px;
    background: var(--bg-main-a30);
    border-radius: 5px;
    .date {
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    .strategySwitch {
      display: flex;
      align-items: center;
      .line {
        width: 1px;
        height: 16px;
        margin-left: 8px;
        background-color: var(--bd-primary-a50);
      }
      .policyReferences {
        margin-left: 12px;
        color: var(--bd-primary);
        cursor: pointer;
        .policyReferencesLogo {
          width: 16px;
          height: 16px;
          margin-right: 8px;
        }
      }
      .nodSdSwitch {
        display: none;
      }
      .sdSwitch {
        display: flex;
        align-items: center;
      }
    }
  }
  .select {
    display: flex;
    align-items: center;
    // width: 100%;
    margin-left: 8px;
    .selectTitle {
      // color: #d3d4d4;
      font-size: 14px;
    }
    :global {
      .ant-select {
        .ant-select-selector {
          padding: 0 11px 0 0;
          // color: #d3d4d4;
          .ant-select-selection-item {
            // color: #d3d4d4;
            font-size: 14px;
          }
        }
        .ant-select-arrow {
          // color: #d3d4d4;
        }
      }
    }
  }
  .content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    .bottom {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      height: 100%;
      overflow: hidden;
      .table {
        width: 100%;
        max-height: 50%;
        margin-bottom: 24px;
        overflow: auto;
        border: 1px solid var(--ant-cus-bd);
        border-radius: 5px;
        .antdBaseTable {
          width: 100%;
          min-height: 72px;
          overflow-y: auto;
          :global {
            .art-table {
              .art-table-header {
                z-index: 100 !important;
                .art-table-header-cell {
                  height: 32px;
                  padding-right: 8px;
                  padding-left: 8px;
                  font-weight: bold;
                }
              }
              .art-table-body {
                .art-table-row {
                  &:last-child {
                    .art-table-cell {
                      border-bottom: none;
                    }
                  }
                  .art-table-cell {
                    height: 32px;
                    padding-right: 8px;
                    padding-left: 8px;
                  }
                }
              }
            }
            .art-sticky-scroll {
              z-index: 100 !important;
            }
          }
          .timeSlot {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            color: var(--bd-primary);
            :global {
              .ant-input {
                width: 40px;
                height: 20px;
                margin: 0;
                padding: 0;
                color: var(--bd-primary);
                font-size: 12px;
                line-height: 20px;
                text-align: center;
                // border: none;
              }
            }
          }
          .dataSourceId {
            display: flex;
            align-items: center;
            width: 100%;
            overflow: hidden;

            .ratio {
              width: 35%;
              text-align: center;
            }
            .predictSource {
              width: 27%;
              text-align: center;
            }
            .maxNum {
              width: 19%;
              text-align: center;
            }
            .minNum {
              width: 19%;
              text-align: center;
            }
          }
          .dataSourceIdShow {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            overflow: hidden;
            .radio,
            .ratio,
            .predictSource,
            .maxNum,
            .minNum {
              display: flex;
              align-items: center;
              justify-content: center;
              overflow: hidden;
            }

            .ratio {
              width: 35%;
              :global {
                .ant-input {
                  width: 50px;
                  height: 20px;
                  padding: 0 4px;
                  font-size: 12px;
                  line-height: 20px;
                }
                .ant-radio-wrapper {
                  margin-bottom: 3px;
                }
              }
            }
            .predictSource {
              width: 27%;
              padding-right: 5px;
              padding-left: 5px;
              :global {
                .ant-select {
                  width: 100%;
                  height: 24px;
                  margin: 0;
                  padding: 0;
                  font-size: 12px;
                  line-height: 12px;
                  .ant-select-selector {
                    margin: 0;
                    padding: 0;
                    .ant-select-selection-item {
                      line-height: 24px;
                    }
                  }
                  .ant-select-arrow {
                    right: 5px;
                    color: #d3d4d4;
                    line-height: 24px;
                  }
                }
              }
            }

            .maxNum {
              width: 19%;
              :global {
                .ant-input {
                  width: 50px;
                  height: 20px;
                  padding: 0 4px;
                  font-size: 12px;
                  line-height: 20px;
                }
              }
            }
            .minNum {
              width: 19%;
              :global {
                .ant-input {
                  width: 50px;
                  height: 20px;
                  padding: 0 4px;
                  font-size: 12px;
                  line-height: 20px;
                }
              }
            }
          }
          .fixedValue {
            display: flex;
            align-items: center;
            width: 100%;
            overflow: hidden;
            .radio {
              width: 22%;
              text-align: center;
            }
            .name {
              flex: 1;
              text-align: center;
            }
          }
          .fixedValueShow {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            overflow: hidden;
            .radio,
            .fixedValueShowInput {
              display: flex;
              align-items: center;
              justify-content: center;
              overflow: hidden;
            }
            .radio {
              width: 22%;
              :global {
                .ant-radio-wrapper {
                  margin-right: 0;
                  margin-bottom: 3px;
                }
              }
            }
            .fixedValueShowInput {
              // flex: 1;
              :global {
                .ant-input {
                  width: 50px;
                  height: 20px;
                  padding: 0 4px;
                  font-size: 12px;
                  line-height: 20px;
                }
              }
            }
          }
          .operation {
            display: flex;
            justify-content: center;
            .oDel {
              margin-right: 15px;
              color: #eb5757;
              cursor: pointer;
            }
            .oAdd {
              color: var(--bd-primary);
              cursor: pointer;
            }
          }
          .disOperation {
            color: #646769;
            cursor: not-allowed;
          }
        }
        .add,
        .disAdd {
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;
          box-sizing: border-box;
          width: 100%;
          padding: 6px;
          font-size: 12px;
          background: #21323e;
          border-top: 1px solid #4e5154;
          .addText {
            margin-left: 8px;
          }
        }
        .add {
          color: var(--bd-primary);
          cursor: pointer;
        }
        .disAdd {
          color: #646769;
          cursor: not-allowed;
        }
      }

      .content {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        width: 100%;
        overflow: hidden;
        .charts {
          width: 100%;
          height: 100%;
          overflow: hidden;
        }
      }
    }
  }
}
.selectDown {
  .options {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    .iconbox {
      margin-right: 8px;
    }
    .size {
      flex: 1;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }
}
